#ifndef __COMMON_UTIL__
#define __COMMON_UTIL__

#include <windows.h>

class cs_auto { // critical section auto enter/leave class.
private:
	CRITICAL_SECTION *m_cs;

public:
	cs_auto(CRITICAL_SECTION* ref_cs);
	~cs_auto(void);
};



#endif